<html>
<head>
<style>
blockquote[type="cite"] {
    color: blue;
    margin: 0px;
    padding-left: 4px;
    border-left: 2px solid blue;
}
</style>
</head>
<body>
<div id="description">This tests to see that if the caret is in an empty quoted paragraph, and there's no quoted content before that paragraph, then pressing delete removes that paragraph's quoting.  Below you should see just an unquoted paragraph.</div>
<div id="edit" contentEditable="true"><blockquote type="cite" id="blockquote"><br></blockquote></div>

<script>
if (window.testRunner)
    testRunner.dumpAsText();
blockquote = document.getElementById("blockquote");
window.getSelection().collapse(blockquote, 0);
document.execCommand("Delete");
document.execCommand("InsertText", false, "not quoted");
if (window.testRunner)
    document.body.innerText = document.getElementById("description").innerText + "\n" + document.getElementById("edit").innerHTML;
</script>

</body>
</html>
